﻿#region Using directives

using System;
using System.Collections.Generic;
using System.Text;

#endregion

namespace Weazel.Badger.ErrorHandling
{
  public class ConversionError
  {
    public ConversionError()
    {

    }
  }

  public class TypeResolveError : ConversionError
  {
    /// <summary>
    /// The component that detected this error
    /// </summary>
    private Badger.Vhdl.ITypedComponent component;
    public Badger.Vhdl.ITypedComponent Component
    {
      get
      {
        return component;
      }
    }

    private TypeResolveError(Badger.Vhdl.ITypedComponent component)
    {
      this.component = component;
    }
  }
}
